package camel.corp.universalcopy;

import android.os.Bundle;
import android.view.MenuItem;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import androidx.appcompat.app.a;
import com.camel.corp.universalcopy.FAQActivity;
import com.camel.corp.universalcopy.N;
import com.camel.corp.universalcopy.O;
import com.camel.corp.universalcopy.P;
import com.camel.corp.universalcopy.a.k;
import com.camel.corp.universalcopy.b.f;
import com.camel.corp.universalcopy.ma;

public class FAQActivity extends k implements f.a {
  private f u;
  
  private int v = 0;
  
  private final int w = 1;
  
  private int x = 1;
  
  private f a(ViewGroup paramViewGroup, int paramInt1, int paramInt2, LinearLayout.LayoutParams paramLayoutParams) {
    this.v++;
    f f1 = new f(this, paramInt1, paramInt2, this.v);
    if (this.v == this.x) {
      f1.a(true, false);
      this.u = f1;
    } 
    paramViewGroup.addView(f1, paramLayoutParams);
    return f1;
  }
  
  public void a(f paramf) { this.u = paramf; }
  
  public void a(boolean paramBoolean) {}
  
  protected void onCreate(Bundle paramBundle) {
    super.onCreate(paramBundle);
    setContentView(2131492911);
    a a1 = l();
    if (a1 != null) {
      a1.c(2131755114);
      a1.d(true);
    } 
    if (paramBundle != null)
      this.x = paramBundle.getInt("KEY_SELECTED_CARD_ID", 1); 
    LinearLayout linearLayout = (LinearLayout)findViewById(2131296472);
    LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
    int i = ma.a(this, 10);
    layoutParams.setMargins(i, i, i, i);
    a(linearLayout, 2131755097, 2131755096, layoutParams);
    N n = new N(this);
    O o = new O(this);
    a(linearLayout, 2131755099, 2131755098, layoutParams).a(2131755194, n);
    a(linearLayout, 2131755101, 2131755100, layoutParams).a(2131755194, n);
    a(linearLayout, 2131755103, 2131755102, layoutParams);
    a(linearLayout, 2131755105, 2131755104, layoutParams).a(2131755151, o);
    a(linearLayout, 2131755107, 2131755106, layoutParams);
    a(linearLayout, 2131755111, 2131755110, layoutParams).a(2131755151, o);
    a(linearLayout, 2131755113, 2131755112, layoutParams).a(2131755151, o);
    a(linearLayout, 2131755109, 2131755108, layoutParams).a(2131755171, new P(this));
  }
  
  public boolean onOptionsItemSelected(MenuItem paramMenuItem) {
    if (paramMenuItem.getItemId() != 16908332)
      return super.onOptionsItemSelected(paramMenuItem); 
    finish();
    return true;
  }
  
  protected void onSaveInstanceState(Bundle paramBundle) {
    f f1 = this.u;
    if (f1 != null)
      paramBundle.putInt("KEY_SELECTED_CARD_ID", f1.getId()); 
    super.onSaveInstanceState(paramBundle);
  }
}


/* Location:              D:\Users\alienware\AndroidStudioProjects\Lazero\sample\sampler\classes-dex2jar\com\camel.jar!\camel\cor\\universalcopy\FAQActivity.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.0.7
 */